/**
 * This is my code.
 *
 * $Id$
 */
package fi.jab.esb.config.xml;


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Abstract Scheduled Listener</b></em>'.
 * <!-- end-user-doc -->
 *
 * <!-- begin-model-doc -->
 * Abstract scheduled listener.
 * <!-- end-model-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link fi.jab.esb.config.xml.AbstractScheduledListener#getPollFrequencySeconds <em>Poll Frequency Seconds</em>}</li>
 *   <li>{@link fi.jab.esb.config.xml.AbstractScheduledListener#getScheduleFrequency <em>Schedule Frequency</em>}</li>
 *   <li>{@link fi.jab.esb.config.xml.AbstractScheduledListener#getScheduleidref <em>Scheduleidref</em>}</li>
 * </ul>
 * </p>
 *
 * @see fi.jab.esb.config.xml.XmlPackage#getAbstractScheduledListener()
 * @model abstract="true"
 *        extendedMetaData="name='abstract-scheduled-listener' kind='elementOnly'"
 * @generated
 */
public interface AbstractScheduledListener extends Listener
{
  /**
   * Returns the value of the '<em><b>Poll Frequency Seconds</b></em>' attribute.
   * The default value is <code>"-1"</code>.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * 
   * 							DEPRECATED (use "schedule-frequency" or "scheduleidref"): The frequency with which this listener is scheduled
   * 							(in seconds). Defaults to 10 seconds.
   * 						
   * <!-- end-model-doc -->
   * @return the value of the '<em>Poll Frequency Seconds</em>' attribute.
   * @see #isSetPollFrequencySeconds()
   * @see #unsetPollFrequencySeconds()
   * @see #setPollFrequencySeconds(int)
   * @see fi.jab.esb.config.xml.XmlPackage#getAbstractScheduledListener_PollFrequencySeconds()
   * @model default="-1" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int"
   *        extendedMetaData="kind='attribute' name='poll-frequency-seconds'"
   * @generated
   */
  int getPollFrequencySeconds();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.AbstractScheduledListener#getPollFrequencySeconds <em>Poll Frequency Seconds</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Poll Frequency Seconds</em>' attribute.
   * @see #isSetPollFrequencySeconds()
   * @see #unsetPollFrequencySeconds()
   * @see #getPollFrequencySeconds()
   * @generated
   */
  void setPollFrequencySeconds(int value);

  /**
   * Unsets the value of the '{@link fi.jab.esb.config.xml.AbstractScheduledListener#getPollFrequencySeconds <em>Poll Frequency Seconds</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #isSetPollFrequencySeconds()
   * @see #getPollFrequencySeconds()
   * @see #setPollFrequencySeconds(int)
   * @generated
   */
  void unsetPollFrequencySeconds();

  /**
   * Returns whether the value of the '{@link fi.jab.esb.config.xml.AbstractScheduledListener#getPollFrequencySeconds <em>Poll Frequency Seconds</em>}' attribute is set.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @return whether the value of the '<em>Poll Frequency Seconds</em>' attribute is set.
   * @see #unsetPollFrequencySeconds()
   * @see #getPollFrequencySeconds()
   * @see #setPollFrequencySeconds(int)
   * @generated
   */
  boolean isSetPollFrequencySeconds();

  /**
   * Returns the value of the '<em><b>Schedule Frequency</b></em>' attribute.
   * The default value is <code>"-1"</code>.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * 
   * 							The frequency with which this listener is scheduled (in seconds). Defaults to 10 seconds.
   * 						
   * <!-- end-model-doc -->
   * @return the value of the '<em>Schedule Frequency</em>' attribute.
   * @see #isSetScheduleFrequency()
   * @see #unsetScheduleFrequency()
   * @see #setScheduleFrequency(int)
   * @see fi.jab.esb.config.xml.XmlPackage#getAbstractScheduledListener_ScheduleFrequency()
   * @model default="-1" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int"
   *        extendedMetaData="kind='attribute' name='schedule-frequency'"
   * @generated
   */
  int getScheduleFrequency();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.AbstractScheduledListener#getScheduleFrequency <em>Schedule Frequency</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Schedule Frequency</em>' attribute.
   * @see #isSetScheduleFrequency()
   * @see #unsetScheduleFrequency()
   * @see #getScheduleFrequency()
   * @generated
   */
  void setScheduleFrequency(int value);

  /**
   * Unsets the value of the '{@link fi.jab.esb.config.xml.AbstractScheduledListener#getScheduleFrequency <em>Schedule Frequency</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #isSetScheduleFrequency()
   * @see #getScheduleFrequency()
   * @see #setScheduleFrequency(int)
   * @generated
   */
  void unsetScheduleFrequency();

  /**
   * Returns whether the value of the '{@link fi.jab.esb.config.xml.AbstractScheduledListener#getScheduleFrequency <em>Schedule Frequency</em>}' attribute is set.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @return whether the value of the '<em>Schedule Frequency</em>' attribute is set.
   * @see #unsetScheduleFrequency()
   * @see #getScheduleFrequency()
   * @see #setScheduleFrequency(int)
   * @generated
   */
  boolean isSetScheduleFrequency();

  /**
   * Returns the value of the '<em><b>Scheduleidref</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * 
   * 							The id reference for the schedule that's driving this scheduled listener.
   * 						
   * <!-- end-model-doc -->
   * @return the value of the '<em>Scheduleidref</em>' attribute.
   * @see #setScheduleidref(String)
   * @see fi.jab.esb.config.xml.XmlPackage#getAbstractScheduledListener_Scheduleidref()
   * @model dataType="org.eclipse.emf.ecore.xml.type.String"
   *        extendedMetaData="kind='attribute' name='scheduleidref'"
   * @generated
   */
  String getScheduleidref();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.AbstractScheduledListener#getScheduleidref <em>Scheduleidref</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Scheduleidref</em>' attribute.
   * @see #getScheduleidref()
   * @generated
   */
  void setScheduleidref(String value);

} // AbstractScheduledListener
